From: Emmanuele Bassi Date: Fri, 21 Jul 2017 14:34:50 +0000 (+0100) Subject: Revert "networkAgent: Adjust to introspection change" X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~201 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=825f1cc072e47e1ff6a6d17fb7712c75b98d118e;p=gnome-shell.git Revert "networkAgent: Adjust to introspection change" This reverts commit 4181035981720ea0be863846f2524b767a46d22c. The commit that caused this change was reverted in GLib. --- diff --git a/js/ui/components/networkAgent.js b/js/ui/components/networkAgent.js index 3b369ec69..fd59c11ca 100644 --- a/js/ui/components/networkAgent.js +++ b/js/ui/components/networkAgent.js @@ -514,7 +514,7 @@ var VPNRequestHandler = new Lang.Class({ message: keyfile.get_string(VPN_UI_GROUP, 'Description'), secrets: [] }; - let groups = keyfile.get_groups(); + let [groups, len] = keyfile.get_groups(); for (let i = 0; i < groups.length; i++) { if (groups[i] == VPN_UI_GROUP) continue;